<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <title>JN - 报表基础数据维护</title>
    <%@ include file="/common/comCSS-lte.html" %>
</head>
<body style="background-color: #ecf0f5;">
    <ol class="breadcrumb" style="background-color: white;border-bottom: 1px solid #d0e3f0;">
        <li>
            <text style="color: #141a1d;">用户名:</text>
            <span id="userSpan" style="color: blue;">${sessionScope.userId}</span></li>
        <li><a href="/jn-report/loginOut">退出登出</a></li>
        <li><a href="goto?page=home">返回主页</a></li>
        <li class="active">基础数据维护</li>
    </ol>

    <h3 class="text-center" style="margin-bottom: 20px;margin-top: 10px;"><strong style="color: #00008B;">JN - 报表基础数据维护</strong></h3>

    <div class="col-lg-12">
        <div class="col-lg-12" style="margin-top: 30px;margin-left: 50px;">
            <label class="control-label col-lg-1" for="dataCateSel" style="color: #191970;"> 参数类型: </label>
            <div class="col-lg-2">
                <select id="dataCateSel" class="form-control">
                    <option value="EFGR"> EFGR: 效率档位对应关系 </option>
                    <option value="ETTA"> ETTA: ETA目标效率值 </option>
                    <option value="LIAT"> LIAT: halm机线别对应单多晶属性 </option>
                </select>
            </div>
            <div class="col-lg-9">
                <%--<button class="btn btn-info" id="query_btn">查询</button>--%>
                <button class="btn btn-primary" id="add_btn">新增</button>
                <button class="btn btn-danger" id="del_btn">删除</button>
                <button class="btn btn-success" id="import_btn">Excel导入</button>
                <button class="btn btn btn-warning" id="download_btn">EXCEL模板下载</button>
            </div>
        </div>

        <div id="dataListDiv" class="col-md-9" style="margin-left: 65px;padding: 0px;margin-top: 15px;">
            <table id="dataListGrd"></table>
        </div>
    </div>


    <%-- 导入模态框--%>
    <div id="uploadBisDataModel" class="modal fade" tabindex="-1" role="dialog">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                    <h4 class="modal-title">导入基础数据</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="form_group">
                            <div class="input-group">
                                <span class="input-group-addon">文件名</span>
                                <input id="versionId" class="form-control" readonly>
                            </div>
                            <div style="float: right">
                                <span class="btn fileinput-button">
                                <i class="glyphicon glyphicon-plus"></i>
                                <span>添加附件</span>
                                <input type="file" name="file" id="fileinput" data-url="uploadBisData.do" >
                                </span>
                            </div>
                            <div class="row">
                                <div class="col-lg-10">
                                    <div class="col-lg-4"></div>
                                    <div class="col-lg-4">
                                        <div id="process"></div>
                                    </div>
                                    <div class="col-lg-4"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button id="uploadBisDataBtn" type="button" class="btn btn-primary">导入</button>
                </div>
            </div>
        </div>
    </div>


    <%@ include file="basic_data_Dialog.jsp" %>
    <%@ include file="/common/comJS-lte.html" %>
    <script src="/jn-report/js/page/basic_data_back.js"></script>
    <script src="/jn-report/js/page/basic_data_Dialog.js"></script>
</body>
</html>
